package com.pig4cloud.mall.product.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 产品分类请求参数
 * @author fangyu
 * @version v1.0.0
 * @date 2020/12/28 6:54 下午
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class CategoryParam {

	@ApiModelProperty(value = "父分类的编号")
	private Long parentId;

	@ApiModelProperty(value = "商品分类名称",required = true)
	private String name;

	@ApiModelProperty("分类单位")
	private String productUnit;

	@ApiModelProperty("是否在导航栏显示")
	private Integer navStatus;

	@ApiModelProperty("是否进行显示")
	private Integer showStatus;

	@ApiModelProperty("排序")
	private Integer sort;

	@ApiModelProperty("图标")
	private String icon;

	@ApiModelProperty("关键字")
	private String keywords;

	@ApiModelProperty("描述")
	private String description;

	@ApiModelProperty("产品相关筛选属性集合")
	private List<Long> productAttributeIdList;
}
